package com.fer.service;

import com.fer.model.Goods;
import io.swagger.models.auth.In;

import java.util.List;

public interface GoodsService {

    List<Goods> selectAllGoods(Integer shop_id);
    Goods selectGood (Integer goods_id);

    List<Goods> selectGoodByName(Integer shop_id, String goods_name);

    void insertGood(Goods goods);

    void deleteGood(Integer goods_id);

    boolean updateGood(Goods goods);
}
